﻿@model ConsoleApplication2.Models.Event

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<body>
    @using (Html.BeginForm("Save", "BasicScheduler", new { id = "BasicScheduler" }))
    {   

        <div>
            @Html.TextAreaFor(m=>m.text,  5, 42, null)
        </div>    
        <div>
            From
            @Html.TextBoxFor(m=>m.start_date)
            To
            @Html.TextBoxFor(m=>m.end_date)
        </div>
       
        <p>
            <input type="submit" name="actionButton" value="Save" />
            <input type="button" onclick="lightbox.close()/* helper-method, only available in custom lightbox */" value="Close" />
            <input type="submit" name="actionButton" value="Delete" />
        </p>
    }
</body>
</html>